﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OutlookTags.Native
{
    [Flags]
    public enum StreamFormats : int
    {
        // Stream formats. Flags are all in low word, since high word
        // gives possible codepage choice. 
        SF_TEXT = 0x0001,
        SF_RTF = 0x0002,
        SF_RTFNOOBJS = 0x0003,		// Write only 
        SF_TEXTIZED = 0x0004,		// Write only 

        SF_UNICODE = 0x0010,		// Unicode file (UCS2 little endian) 
        SF_USECODEPAGE = 0x0020,		// CodePage given by high word 
        SF_NCRFORNONASCII = 0x40,	// Output /uN for nonASCII 
        SFF_WRITEXTRAPAR = 0x80,		// Output \par at end

        // Flag telling stream operations to operate on selection only 
        // EM_STREAMIN  replaces current selection 
        // EM_STREAMOUT streams out current selection 
        SFF_SELECTION = 0x8000,

        // Flag telling stream operations to ignore some FE control words 
        // having to do with FE word breaking and horiz vs vertical text. 
        // Not used in RichEdit 2.0 and later	
        SFF_PLAINRTF = 0x4000,

        // Flag telling file stream output (SFF_SELECTION flag not set) to persist 
        // \viewscaleN control word. 
        SFF_PERSISTVIEWSCALE = 0x2000,

        // Flag telling file stream input with SFF_SELECTION flag not set not to 
        // close the document 
        SFF_KEEPDOCINFO = 0x1000,

        // Flag telling stream operations to output in Pocket Word format 
        SFF_PWD = 0x0800,
    }
}
